/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.fee.facade.query.result.info;

import info.peigen.hotpot.business.fee.facade.enums.FeeMethod;
import info.peigen.hotpot.common.core.lang.money.Money;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(QueryFeeDetailResultInfo)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/5/11
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class QueryFeeDetailResultInfo {
    /** 手续费规则ID */
    String    ruleId;
    /** 阶梯式时金额开始范围 */
    Money     stepStartRange;
    /** 阶梯式时结束范围 */
    Money     stepEndRange;
    /** 收费方式 Ratio-比例、FixedAmount-固定金额、Multi_Step_Amount-阶梯式 */
    FeeMethod feeMethod;
    /** 阶梯式收费规则具体内容：比例或固定金额 */
    String    context;

}
